package com.xuecheng.learning.service;

import com.xuecheng.base.model.PageResult;
import com.xuecheng.base.model.RestResponse;
import com.xuecheng.learning.model.dto.MyCourseTableParams;
import com.xuecheng.learning.model.po.XcCourseTables;

/**
 * @author 26455
 * @version 1.0
 * @description TODO
 * @date 2023/2/28 10:57
 */
public interface LearningService {
    /**
     * @param courseId    课程id
     * @param teachplanId 课程计划id
     * @param mediaId     视频文件id
     * @return com.xuecheng.base.model.RestResponse<java.lang.String>
     * @description 获取教学视频
     */
    public RestResponse<String> getVideo(String userId, Long courseId, Long teachplanId, String mediaId);

    public PageResult<XcCourseTables> mycourestabls(MyCourseTableParams params);
}
